package com.starnet.yarnmonitor.yarn.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.starnet.yarnmonitor.yarn.entity.YarnWarnHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈佳豪
 * @since 2022-04-24
 */
public interface YarnWarnHistoryService extends IService<YarnWarnHistory> {

    IPage<YarnWarnHistory> getPagedHistory(Integer cur, Integer size);

    void recoveryHistory(Long id);

    IPage<YarnWarnHistory> getNotRecoveredWarnHistory(Integer cur, Integer size);
}
